home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / giochi / adoom / amipx1_1.lha / amipx1_1 / Include / amipx_pragmas.h next >
C/C++ Source or Header  |  1998-02-05  |  930b  |  25 lines

  1. #ifndef _AMIPX_PRAGMAS_
  2. #define _AMIPX_PRAGMAS_
  3.  
  4. #ifdef AZTEC_C
  5. #pragma amicall(AMIPX_Library, 0x1e, AMIPX_OpenSocket(d0))
  6. #pragma amicall(AMIPX_Library, 0x24, AMIPX_CloseSocket(d0))
  7. #pragma amicall(AMIPX_Library, 0x2a, AMIPX_ListenForPacket(a0))
  8. #pragma amicall(AMIPX_Library, 0x30, AMIPX_SendPacket(a0))
  9. #pragma amicall(AMIPX_Library, 0x36, AMIPX_GetLocalAddr(a0))
  10. #pragma amicall(AMIPX_Library, 0x3c, AMIPX_RelinquishControl())
  11. #pragma amicall(AMIPX_Library, 0x42, AMIPX_GetLocalTarget(a0,a1))
  12. #endif
  13.  
  14. #ifdef __SASC
  15. #pragma libcall AMIPX_Library AMIPX_OpenSocket 1e 001
  16. #pragma libcall AMIPX_Library AMIPX_CloseSocket 24 001
  17. #pragma libcall AMIPX_Library AMIPX_ListenForPacket 2a 801
  18. #pragma libcall AMIPX_Library AMIPX_SendPacket 30 801
  19. #pragma libcall AMIPX_Library AMIPX_GetLocalAddr 36 801
  20. #pragma libcall AMIPX_Library AMIPX_RelinquishControl 3c 0
  21. #pragma libcall AMIPX_Library AMIPX_GetLocalTarget 42 9802
  22. #endif
  23.  
  24. #endif
  25.